using System;
using System.Drawing;
using System.Collections;
using System.ComponentModel;
using System.Windows.Forms;

namespace BTSProjectWizard.Forms
{
	/// <summary>
	/// Summary description for DummyPage.
	/// </summary>
	public class DummyPage : BTSWizardPage
	{
		public override bool ProcessSymbols()
		{
            
			wizard.AddSymbol(this.Data,textBox1.Text);
			return true;
		}

		private System.Windows.Forms.Label label1;
		private System.Windows.Forms.TextBox textBox1;
		/// <summary>
		/// Required designer variable.
		/// </summary>
		private System.ComponentModel.Container components = null;

		public DummyPage()
		{
			//
			// Required for Windows Form Designer support
			//
			InitializeComponent();

			//
			// TODO: Add any constructor code after InitializeComponent call
			//
            
		}
        protected override void OnLoad(EventArgs e)
        {
            label1.Text = this.Title;
            base.OnLoad(e);
        }
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		protected override void Dispose( bool disposing )
		{
			if( disposing )
			{
				if(components != null)
				{
					components.Dispose();
				}
			}
			base.Dispose( disposing );
		}

		#region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		private void InitializeComponent()
		{
            System.ComponentModel.ComponentResourceManager resources = new System.ComponentModel.ComponentResourceManager(typeof(DummyPage));
            this.label1 = new System.Windows.Forms.Label();
            this.textBox1 = new System.Windows.Forms.TextBox();
            this.SuspendLayout();
            // 
            // label1
            // 
            resources.ApplyResources(this.label1, "label1");
            this.label1.Name = "label1";
            // 
            // textBox1
            // 
            resources.ApplyResources(this.textBox1, "textBox1");
            this.textBox1.Name = "textBox1";
            this.textBox1.TextChanged += new System.EventHandler(this.textBox1_TextChanged_1);
            // 
            // DummyPage
            // 
            this.Controls.Add(this.textBox1);
            this.Controls.Add(this.label1);
            this.Name = "DummyPage";
            resources.ApplyResources(this, "$this");
            this.Load += new System.EventHandler(this.DummyPage_Load);
            this.ResumeLayout(false);
            this.PerformLayout();

		}
		#endregion

        private void textBox1_TextChanged(object sender, EventArgs e)
        {

        }

        private void textBox1_TextChanged_1(object sender, EventArgs e)
        {

        }

        private void DummyPage_Load(object sender, EventArgs e)
        {
            this.textBox1.Focus();
        }
	}
}
